import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import Login from '@/components/Login'
import Me from '@/components/Me'
import NearBy from '@/components/NearBy'
import Focus from '@/components/Focus'
import Search from '@/components/Search'
import SeeOne from '@/components/SeeOne'
import ContentPage from '@/components/ContentPage'
import Say from '@/components/Say'
import ChatList from '@/components/ChatList'
import TvList from '@/components/TvList'
import Chat from '@/components/Chat'
import FocusUser from '@/components/FocusUser'
import TvRoom from '@/components/TvRoom'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: 'Index',
            component: Index
        },
        {
            path: '/login',
            name: 'Login',
            component: Login
        },
        {
            path: '/me',
            name: 'Me',
            component: Me
        },
        {
            path: '/nearby',
            name: 'NearBy',
            component: NearBy
        },
        {
            path: '/focus',
            name: 'Focus',
            component: Focus
        },
        {
            path: '/search',
            name: 'Search',
            component: Search
        },
        {
            path: '/seeOne',
            name: 'SeeOne',
            component: SeeOne
        },
        {
            path: '/contentPage',
            name: 'ContentPage',
            component: ContentPage
        },
        {
            path: '/say',
            name: 'Say',
            component: Say
        },
        {
            path: '/focusUser',
            name: 'FocusUser',
            component: FocusUser
        },
        {
            path: '/tv_list',
            name: 'TvList',
            component: TvList
        },
        {
            path: '/chat',
            name: 'Chat',
            component: Chat
        },
        {
            path: '/chatList',
            name: 'ChatList',
            component: ChatList
        },
        {
            path: '/tvRoom',
            name: 'TvRoom',
            component: TvRoom
        },

    ]
})

